package com.patterns.singleton.hungryMode;

/**
 * Created by Xiao Yiyun on 2017/4/11.
 */
public class Test {

    public static void main(String[] args) {
//        报错：该类的构造函数为私有的，无法调用
//        singleton s = new singleton();

        Singleton singleton = Singleton.getSingleton();
        singleton.Print();
    }
}